FROM eclipse-temurin:21-jre-alpine
# 直接复制 repackage 后的可执行 jar
COPY target/lgy-auto-aipan.jar /lgy-auto-aipan.jar
COPY agent /usr/local/agent
ENV SW_AGENT_NAME "lgy-auto-aipan"
ENTRYPOINT ["java","-javaagent:/usr/local/agent/skywalking-agent.jar","-jar","/lgy-auto-aipan.jar"]